﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace DL
{
    class Polygon
    {
        Point[] points;

        public Polygon(Point[] p)
        {
            points = p;
        }

        public void Draw(Pen pen, Graphics g)
        {
            g.DrawPolygon(pen, points);
        }
    }
}
